Finite Automata Theory in

نویسنده

  • Jean-Christophe Filliâtre
چکیده

We describe here a development in the system Coq of a piece of Finite Automata Theory. The main result is the Kleene's theorem, expressing that regular expressions and nite automata deene the same languages. From a constructive proof of this result, we automatically obtain a functional program that compiles any regular expression into a nite automata, which constitutes the main part of the implementation of grep-like programs. This functional program is obtained by the automatic method of extraction which removes the logical parts of the proof to keep only its informative contents. Starting with an idea of what we would have written in ML, we write the speciication and do the proofs in such a way that we obtain the expected program, which is therefore eecient. R esum e Nous d ecrivons dans cet article un d eveloppement dans le syst eme Coq d'une partie de la Th eorie des Automates Finis. Le principal r esultat est le th eor eme de Kleene, qui etablit que les expressions rationnelles et les automates nis d eenissent la m^ eme classe de langages. A partir d'une preuve constructive de ce r esultat, on obtient automatiquement un programme fonctionnel qui compile une expression rationnelle en un automate ni, ce qui constitue la partie critique de l'impl ementation des programmes du style grep. Ce programme fonctionnel est obtenu par la m ethode automatique d'extraction qui supprime les parties logiques de la preuve pour ne con-server que son contenu informatif. Avec en t^ ete l'id ee du programme ML que l'on aurait ecrit directement, on ecrit la sp eciication et on m ene les preuves de mani ere a obtenir le programme voulu, qui est par cons equent eecace. Abstract We describe here a development in the system Coq of a piece of Finite Automata Theory. The main result is the Kleene's theorem, expressing that regular expressions and nite automata deene the same languages. From a constructive proof of this result, we automatically obtain a functional program that compiles any regular expression into a nite automata, which constitutes the main part of the implementation of grep-like programs. This functional program is obtained by the automatic method of extraction which removes the logical parts of the proof to keep only its informative contents. Starting with an idea of what we would have written in ML, we write the speciication and do the proofs in such a …

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Multidimensional fuzzy finite tree automata

This paper introduces the notion of multidimensional fuzzy finite tree automata (MFFTA) and investigates its closure properties from the area of automata and language theory. MFFTA are a superclass of fuzzy tree automata whose behavior is generalized to adapt to multidimensional fuzzy sets. An MFFTA recognizes a multidimensional fuzzy tree language which is a regular tree language so that for e...

متن کامل

Reduction of Computational Complexity in Finite State Automata Explosion of Networked System Diagnosis (RESEARCH NOTE)

This research puts forward rough finite state automata which have been represented by two variants of BDD called ROBDD and ZBDD. The proposed structures have been used in networked system diagnosis and can overcome cominatorial explosion. In implementation the CUDD - Colorado University Decision Diagrams package is used. A mathematical proof for claimed complexity are provided which shows ZBDD ...

متن کامل

GAME OF COORDINATION FOR BACTERIAL PATTERN FORMATION: A FINITE AUTOMATA MODELLING

In this paper, we use game theory to describe the emergence of self-organization and consequent pattern formation through communicative cooperation in Bacillus subtilis colonies. The emergence of cooperative regime is modelled as an n-player Assurance game, with the bacterial colonies as individual players. The game is played iteratively through cooperative communication, and mediated by exchan...

متن کامل

Basics on Tree Automata

The theory of tree automata was established in the late sixties by Thatcher and Wright [53] and Doner [19]. They showed that the basic logical and algorithmic properties of standard automata theory can be transferred from the domain of finite words to the domain of finite trees (or terms), leading to a theory of regular tree languages. Quoting from the introduction of [53], where the theory of ...

متن کامل

More on Deterministic and Nondeterministic Finite Cover Automata - Extended Abstract

Finite languages are an important sub-regular language family, which were intensively studied during the last two decades in particular from a descriptional complexity perspective. An important contribution to the theory of finite languages are the deterministic and the recently introduced nondeterministic finite cover automata (DFCAs and NFCAs, respectively) as an alternative representation of...

متن کامل

Descriptional Complexity of Ambiguity in Symmetric Difference NFAs

We investigate ambiguity for symmetric difference nondeterministic finite automata. We show the existence of unambiguous, finitely ambiguous, polynomially ambiguous and exponentially ambiguous symmetric difference nondeterministic finite automata. We show that, for each of these classes, there is a family of n-state nondeterministic finite automata such that the smallest equivalent deterministi...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1997